import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import axios from "axios";
import moment from "moment";

axios.defaults.baseURL = "http://127.0.0.1:3000";
Vue.prototype.axios = axios;
Vue.prototype.moment = moment;
Vue.config.productionTip = false;

import "./assets/script/rem";

// 导入mint-ui组件库
import MintUI from "mint-ui";
// 导入mint-ui样式表
import "mint-ui/lib/style.min.css";
// 将mint-ui注册为插件(全局注册)
Vue.use(MintUI);

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount("#app");
